<script setup lang="ts">
import { ElForm, ElFormItem } from 'element-plus'
import AddButton from '@/components/AddButton/AddButton.vue'
import SearchButton from '@/components/SearchButton/SearchButton.vue'

defineEmits<{
  (e: 'search'): void
  (e: 'add'): void
}>()
</script>

<template>
  <ElForm>
    <ElFormItem>
      <SearchButton @click="$emit('search')" />
      <AddButton @click="$emit('add')" />
    </ElFormItem>
  </ElForm>
</template>
